<!-- 
	퀘스트 수행
 -->
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE HTML>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
	<link rel="Stylesheet" href="./css/bootstrap-responsive.min.css" />
	<link rel="stylesheet" href="css/questudy.css" />

	<script src="http://code.jquery.com/jquery.js"></script>
	<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
	<script src="js/study/study.js"></script>
	<script src="js/study/quest.js"></script>
<title>Welcome to Questudy</title>
</head>
<%
	int studyId = ((Integer)request.getAttribute("studyId")).intValue();
	int questId = ((Integer)request.getAttribute("questId")).intValue();
%>
<body>
	<div class="container">
		<jsp:include page="nav/nav_main.jsp" />
		<jsp:include page="nav/nav_study.jsp"/>
		<div class="container firstDiv">
			<form method="post" name="doQuestForm" action="NewAction.Answer?studyId=<%=studyId%>&questId=<%=questId%>">
				<div class="col-md-6 col-md-offset-3">
					<div class="input-group">
						<span class="input-group-addon">퀘스트 답변</span>
						<textarea class="form-control" name="content" id="content" rows="10"></textarea>
					</div>
					<p class="text-center">
						<button type="button" class="btn btn-default" onclick="makeAnswer()">답변등록하기</button>
					</p>
					<p class="text-center text-warning" id="message">
					</p>
				</div>		
			</form>
		</div>
	</div>
</body>
</html>